package edu.qqilin.springframework.beans.factory;

import edu.qqilin.springframework.beans.BeansException;

/**
 * Description: 顶层接口。
 * <p>
 * 定义最基本的 getBean 方法。
 *
 * @author qqilin1213
 * @version 1.0
 * @date 2025/11/22 15:27
 */
public interface BeanFactory {
    Object getBean(String name) throws BeansException;
    Object getBean(String name,Object... args) throws BeansException;
    <T> T getBean(String name, Class<T> requiredType) throws BeansException;
}
